
cc.Class({
    extends: cc.Component,

    properties: {
        BarrageSprite:cc.Sprite,
        BarrageLabel:cc.Label
    },
    init:function (urls,string) {
        var self = this;
        cc.loader.load({url: urls, type: 'png'}, function (err, texture) {
            self.BarrageSprite.spriteFrame = new cc.SpriteFrame(texture)
        })
        this.BarrageLabel.string = string;
    },
});
